import request from '@/utils/request'
export default({
    userNameVer(name){
        return request({
            url:'/sys/company/userNameVer',
            method:'post',
            params:{
                "userName":name
            }
        })
    },
    companyVer(name){
        return request({
            url:'/sys/company/companyVer',
            method:'post',
            params:{
                "companyName":name
            }
        })
    },
    logup(company){
        return request({
            url:'/sys/company/register',
            method:'post',
            params:{
                "name":company.name,
                "mobile":company.mobile,
                "companyName":company.companyName,
                "companyAddress":company.companyAddress,
                "username":company.username,
                "password":company.password
            }
        })
    }
})